package com.career.syn;

/**
 * @author jasongu
 * @Description: TODO
 * @ClassName: Test
 * @date 2018/12/27 14:12
 */
public class Test {
    public static void main(String[] args) {
        String a = "";
        Integer permits = 50;
        Integer nThreads = 100;
        if (args.length < 3){
            System.out.println("缺少参数执行参数");
            return;
        }
        if (!ObjectUtil.isEmpty(args[0])) {
            a = args[0];
        }
        if (!ObjectUtil.isEmpty(args[1])) {
            permits = Integer.parseInt(args[1]);
        }
        if (!ObjectUtil.isEmpty(args[2])) {
            nThreads = Integer.parseInt(args[2]);
        }
        System.out.println(a);
        System.out.println(permits);
        System.out.println(nThreads);
    }
}
